<div class="followBlock">
	<div class="clearfix">
		<div class="lfloat">
			<h1 class="uiHeaderTitle">Photos</h1>
		</div>
		<div class="rfloat">
			<span class="uiButtonGroup brs">
				<?php if(Nuo::allow('photo.addNew')): ?>
				<a href="<?php echo Nuo::getUrl('photo/upload'); ?>" class="uiButtonGroupItem uiButton uiButtonLarge firstItem">
					<i class="uiIcon uiIconAdd">&nbsp;</i>
					<span class="uiButtonText">Upload</span>
				</a>
				<?php endif; ?>
				<?php if(Nuo::allow('photo.import')): ?>
				<a href="<?php echo Nuo::getUrl('photo/import'); ?>" class="uiButtonGroupItem uiButton uiButtonLarge">
					<i class="uiIcon uiIconImport">&nbsp;</i>
					<span class="uiButtonText">Import</span>
				</a>
				<?php endif; ?>
			</span>
		</div>
	</div>
</div>
<div class="clearfix">
	<div class="hbr"></div>
</div>
<div class="followBlock">
	<div class="clearfix">
		<?php foreach($paging as $item):
		?>
		<div class="uiPhotoThumbLargeWrap inlineBlock">
			<a class="inlineBlock mat" href="<?php echo $item->getUrl();?>">
				<i class="uiPhotoBgrLayer uiPhotoThumbMedium" style="background-image: url(<?php echo $item -> getPhotoUrl('h200'); ?>)"></i>
			</a>
		</div>
		<?php endforeach; ?>
	</div>
</div>